How to access a variable outside of a function (access from a loop)

welcome to shbcf.ru